package com.yijinsuo.entity;

/**
 * Created by ekikousei易皇星 on 16/11/30.
 * E-mail:13764664731@163.com
 * Signature:缘分是本书,翻的不经意会错过,读的太认真会流泪!!
 * <p/>
 * TODO:类描述:
 */

import org.json.*;

import java.io.Serializable;

public class Pagess implements Serializable{

    private String id;   //标ID
    private String borrowTitle;     //项目名
    private String paid;   //0
    private String stayingInterest;   //预期收益
    private String tenderAddtime;     //投标日期
    private String annualInterestRate;   //收益率
    private String staying;
    private String effectiveAmount;   //金额
    private String interestAmount;   //投资产生的总收益之和
    private String eid;   //加密标ID
    private String interestPaid;    //预期收益：传入后台的参数type=sucTender时的预期收益
    private String endTime;        //到期日
    private String repaymentStyle;    // 还款方式：1(一次性还清);2:按月等额本息；3:每月还息到期还本
    private String borrowTimeLimit;   //标期限
    private String tenderStatus;      //标状态
    private String bidKind;
    private String isDay;        //2月标；1天标


    public Pagess() {

    }

    public Pagess(JSONObject json) {

        this.id = json.optString("id");
        this.borrowTitle = json.optString("borrow_title");
        this.paid = json.optString("paid");
        this.stayingInterest = json.optString("staying_interest");
        this.tenderAddtime = json.optString("tender_addtime");
        this.annualInterestRate = json.optString("annual_interest_rate");
        this.staying = json.optString("staying");
        this.effectiveAmount = json.optString("effective_amount");
        this.interestAmount = json.optString("interest_amount");
        this.eid = json.optString("eid");
        this.interestPaid = json.optString("interest_paid");
        this.endTime = json.optString("end_time");
        this.repaymentStyle = json.optString("repayment_style");
        this.borrowTimeLimit = json.optString("borrow_time_limit");
        this.tenderStatus = json.optString("tender_status");
        this.bidKind = json.optString("bid_kind");
        this.isDay = json.optString("is_day");

    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBorrowTitle() {
        return this.borrowTitle;
    }

    public void setBorrowTitle(String borrowTitle) {
        this.borrowTitle = borrowTitle;
    }

    public String getPaid() {
        return this.paid;
    }

    public void setPaid(String paid) {
        this.paid = paid;
    }

    public String getStayingInterest() {
        return this.stayingInterest;
    }

    public void setStayingInterest(String stayingInterest) {
        this.stayingInterest = stayingInterest;
    }

    public String getTenderAddtime() {
        return this.tenderAddtime;
    }

    public void setTenderAddtime(String tenderAddtime) {
        this.tenderAddtime = tenderAddtime;
    }

    public String getAnnualInterestRate() {
        return this.annualInterestRate;
    }

    public void setAnnualInterestRate(String annualInterestRate) {
        this.annualInterestRate = annualInterestRate;
    }

    public String getStaying() {
        return this.staying;
    }

    public void setStaying(String staying) {
        this.staying = staying;
    }

    public String getEffectiveAmount() {
        return this.effectiveAmount;
    }

    public void setEffectiveAmount(String effectiveAmount) {
        this.effectiveAmount = effectiveAmount;
    }

    public String getInterestAmount() {
        return this.interestAmount;
    }

    public void setInterestAmount(String interestAmount) {
        this.interestAmount = interestAmount;
    }

    public String getEid() {
        return this.eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getInterestPaid() {
        return this.interestPaid;
    }

    public void setInterestPaid(String interestPaid) {
        this.interestPaid = interestPaid;
    }

    public String getEndTime() {
        return this.endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getRepaymentStyle() {
        return this.repaymentStyle;
    }

    public void setRepaymentStyle(String repaymentStyle) {
        this.repaymentStyle = repaymentStyle;
    }

    public String getBorrowTimeLimit() {
        return this.borrowTimeLimit;
    }

    public void setBorrowTimeLimit(String borrowTimeLimit) {
        this.borrowTimeLimit = borrowTimeLimit;
    }

    public String getTenderStatus() {
        return this.tenderStatus;
    }

    public void setTenderStatus(String tenderStatus) {
        this.tenderStatus = tenderStatus;
    }

    public String getBidKind() {
        return this.bidKind;
    }

    public void setBidKind(String bidKind) {
        this.bidKind = bidKind;
    }

    public String getIsDay() {
        return this.isDay;
    }

    public void setIsDay(String isDay) {
        this.isDay = isDay;
    }


}
